
#ifndef _COMM_H_
#define _COMM_H_

#include "config.h"
#include "comm_lib.h"

typedef struct comm_packet_t
{
	int len;
	uint8_t	data[1];
} comm_packet_t;

#define COMM_PACKET_HEADER_SIZE      (sizeof(int))

int comm_initialize();
int comm_poll();
int comm_finalize();

#endif /* _COMM_H_ */
